var tmp = new Date()
// let const 
function f(condition) {
    console.log(tmp);
    if(condition){
        let tmp = "itclanCoder";
        return tmp
    }else{
        console.log(tmp);
        return null
    }
}

f(false)